<template>
  <div>
    <van-swipe :autoplay="3000" class="demo-swipe">
      <van-swipe-item class="item" v-for="item in lunbotulist" :key="item.img">
        <img :src="item.img" alt="">
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  data: () => ({}),
  props: ["lunbotulist"]
};
</script>

<style lang="less" scoped>
.demo-swipe {
  height: 200px;
  overflow: hidden;
  width: 100%;
  .item {
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>